\hypertarget{classAprilTags_1_1GrayModel}{}\doxysection{April\+Tags\+::Gray\+Model Class Reference}
\label{classAprilTags_1_1GrayModel}\index{AprilTags::GrayModel@{AprilTags::GrayModel}}


Fits a grayscale model over an area of pixels.  




{\ttfamily \#include $<$Gray\+Model.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classAprilTags_1_1GrayModel_acc589df98f898aaeea94955e5ade4a1a}\label{classAprilTags_1_1GrayModel_acc589df98f898aaeea94955e5ade4a1a}} 
void {\bfseries add\+Observation} (float x, float y, float gray)
\item 
\mbox{\Hypertarget{classAprilTags_1_1GrayModel_a05bf26d2eb14c23cc09f935ab9a585d0}\label{classAprilTags_1_1GrayModel_a05bf26d2eb14c23cc09f935ab9a585d0}} 
int {\bfseries get\+Num\+Observations} ()
\item 
\mbox{\Hypertarget{classAprilTags_1_1GrayModel_a9fa3f04219dd0e58a86a95740e776ad2}\label{classAprilTags_1_1GrayModel_a9fa3f04219dd0e58a86a95740e776ad2}} 
float {\bfseries interpolate} (float x, float y)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Fits a grayscale model over an area of pixels. 

The model is of the form\+: c1$\ast$x + c2$\ast$y + c3$\ast$x$\ast$y + c4 = value

We use this model to compute spatially-\/varying thresholds for reading bits. 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
calico/third\+\_\+party/apriltags/apriltags/Gray\+Model.\+h\item 
calico/third\+\_\+party/apriltags/src/Gray\+Model.\+cc\end{DoxyCompactItemize}
